package com.yong.common.compare;

import java.util.Comparator;

public class DefineComparator {

	private static final Comparator<T> comparator = new Comparator<T>() {
		public int compare(T m1, T m2) {
			if (m1.getOrder() > m2.getOrder())
				return 1;
			else if (m1.getOrder() < m2.getOrder())
				return -1;
			else
				return 0;
		}
	};
}
